Skip to content

doc: decision record for #5902 — terminal & website host providers - #10651

Merged
dezren39 merged 1 commit into
mainfrom
queue/12879-5902-host-providers
Nov 16, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/12879-5902-host-providers

Conversation

@dezren39

@dezren39 dezren39 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

What

Decision record for issue #5902 (design split 7 of #5686): the terminal (client and server modes) and website instantiations of the #5686 capability-provider model — sandbox and lifecycle rules, per the issue's charter. Design only; no provider implementation, per the task packet.

Lands doc/2026-11-16T09-03-20Z_decision_id5902_terminal_website_host_providers.md, written in the family's established record shape (cf. #5901, #5903) and decided against the landed siblings (#5898 declaration, #5900 grants, #5904 offline/degraded, #5905 security) and the #5931 field survey (§1 terminal, §3 web, §6 cross-cutting).

Decisions in brief

  • D1 One declaration, per-host projections: the id: design: provider declaration model (from #5686) #5898 signed manifest is sole authority on both hosts; WebMCP registration and multiplexer/emulator state are generated projections, never reverse-authoritative.
  • D2 The terminal provider is the multiplexer session, not the emulator surface; the typed surface is OSC 133 command blocks (cwd, exit status, bounded output), with raw PTY as a separate higher-sensitivity capability. Substrate is a protocol shape (tmux control-mode class), not a product; Coder AgentAPI rejected as dead (archived 2026-09-13).
  • D3 Terminal sandbox = the declared envelope, stated honestly: declared cwd roots, declared environment, manifest bounds; observation is never grant-on-use; actuation is never ambient; F13.7's two-key rule in client mode.
  • D4 Website provider = the page in the user's tab; calls route through the user's id shell for the writer-set grant check; WebMCP projection optional, the id extension/native-messaging channel is the always-available path; Chromium device APIs are capabilities whose absence is a declared suspension.
  • D5 Lifetimes: terminal = session, website = tab (shortest in the family); grants bind to the instance and die with it by default — the same answer id: design: embedded providers: engine & smartphone instantiation (from #5686) #5903 gave for embedded, so the family keeps one rule.

The record states its two assumptions explicitly (#5899 transport profiles; F13.7 registry shape), checks parent conflicts (none; one #5899 input flagged), and closes with the rejected-alternatives table. With this landed, #5686's decomposition has one live child left (#5899).

Closes #5902.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 16, 2026 09:04
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T09:04:56.847412Z
We couldn’t complete this review. Comment @codex review to try again.
c172169 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 49038711-4f7b-4538-81e2-b5be67910c4f
Commits

Reviewing files that changed from the base of the PR and between 82b519e and c172169.

Files selected for processing: 1

  • doc/2026-11-16T09-03-20Z_decision_id5902_terminal_website_host_providers.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit f4bf97e into main Nov 16, 2026
1 check passed
@dezren39
dezren39 deleted the queue/12879-5902-host-providers branch November 16, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: design: host providers: terminal & website (from #5686)

1 participant